POV-Ray : Newsgroups : povray.binaries.images : Speeding up grass : Speeding up grass Server Time
4 Nov 2024 14:46:40 EST (-0500)
  Speeding up grass  
From: Mick Hazelgrove
Date: 1 Jul 2000 09:51:43
Message: <395df76f@news.povray.org>
As you all know I speend alot of time creating landscapes.  Trying to speed
up grass has been one of my major preoccupations.  After using an inc file
which was a union of triangles and getting fed up with the time it took to
parse, I changed the union to mesh. To my astonishment the file parsed in
less than a second.  At this point I took a look at my grass file to see if
I could speed it up - lots of work. Coincidentaly Gilles put up his new web
site and whilst enjoying this I came across his grass file and  Gilles had
got there first.  His file outputs a grass patch as a mesh and to give you
some idea of of it's capabilities and to pass on the lesson I have learned I
rendered this picture.

Here's some stats:
 Peak Memory 1323748 bytes
 Parse Time 33 secs
 trace time 4 min 15 secs

Number of Grass blades ............................4,297,500 !!!!

Wow

Mick


Post a reply to this message


Attachments:
Download 'grass.jpg' (151 KB)

Preview of image 'grass.jpg'
grass.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.